﻿@model mtm.RssParser.Models.ManagerModel
@{ 
    /* Copyright © 2009 - 2010 Oleg Stuhin & Rostislav Haitovich 
       To learn more about mytrip.mvc visit  
       http://mytripmvc.net  http://mytripmvc.codeplex.com 
       mytripmvc@gmail.com
       license: Microsoft Public License (Ms-PL) */ 
}
@{
    ViewBag.Title = Html.MytripPageTitle(RssparserLanguage.rssparser_manager, "/");
    ViewBag.Keywords=Html.MytripPageTitle(RssparserLanguage.rssparser_manager, ",");
    ViewBag.Description=Html.MytripPageTitle(RssparserLanguage.rssparser_manager, ",");
}
@section scriptlink{
@Html.ScriptLink("jquery.validate.min.js,jquery.validate.unobtrusive.min.js,mtm.Delete.js,mtm.jHtmlArea.js,Page/Rssparser.js")
}
@section content{
<h1 class="title">@RssparserLanguage.rssparser_manager</h1>
<div class="content">
@Html.RssparserList()
</div>
<h1 class="title">@RssparserLanguage.add_rss_feed</h1>
@using (Html.BeginForm()){
<fieldset>    
<div class="editor-label">
@Html.LabelFor(model => model.Title, RssparserLanguage.rssfeed_title)
</div><div class="editor-field"> 
@Html.TextBoxFor(x=>x.Title,new { style = "width: 350px;"})
@Html.ValidationMessage("Title")
</div><div class="editor-label">
@Html.LabelFor(model => model.RssUrl, RssparserLanguage.rssfeed_url)
</div><div class="editor-field"> 
@Html.TextBoxFor(x => x.RssUrl, new { style = "width: 350px;" })
@Html.ValidationMessage("RssUrl")
</div><div class="editor-label">
@Html.LabelFor(model => model.ImgUrl, RssparserLanguage.rssfeed_pic)
</div><div class="editor-field"><div class="dark" style="width:206px;"> 
@Html.TextAreaFor(x => x.ImgUrl, new { id = "fotoabstract", style = "height: 200px; width:200px;" })
@Html.ValidationMessage("ImgUrl")
</div></div><div class="editor-label">
@Html.CheckBoxFor(model => model.AllCulture) 
@Html.LabelFor(model => model.AllCulture, RssparserLanguage.display_in_all_languages)
</div>
<div class="button">
@Html.MytripButton("Add",true,"left")
@Html.MytripButton("/Core/ControlPanel", CoreLanguage.cancel, false,"left") 
</div>
</fieldset>
}
<div id="delete" class="window">  
<div class="modalTC">@CoreLanguage.delete</div>
<div class="modalC">
<table class="leftmidle"><tr><td>
@Html.MytripImage("/images/warning.png","warning","i")
</td><td>
<h3 class="hometitle">@CoreLanguage.are_you_sure</h3>
</td></tr></table>  
<div class="button">
@Html.MytripButton(CoreLanguage.cancel, false, "close","right")
@Html.MytripButton(CoreLanguage.remove, true, "enter","right")      
</div>
</div> 
</div>
}

